<div class="main" v-if="show">
	
    <div class="userindex">
        <div class="userindex-content">
                <p class="avatar tc"><img :src="user.headimgurl"/></p>
                <p class="tc">{{user.username}}<br/>{{user.mobile}}</p>
                
            <div class="top-nav row">
            	<div class="col" :class="{'selected':showV===0}" v-on:click="showPanel(0)">登录密码</div>
            	<div class="col" :class="{'selected':showV===1}" v-on:click="showPanel(1)">支付密码</div>
            </div>
                
	        <div>
		        <!--登录密码-->
		        <form id="chgpwdForm" method="post" action="#" v-if="showV===0" class="flexForm userindex">
		            <div class="content">                    
		                <ul class="">
		                    <li>
		                        <div class="col"><input id="oldloginpwd" class="ipt bord-rad" type="password"  placeholder="原密码" name="oldloginpwd" v-model="loginForm.pwd"/></div>
		                    </li>
		                    <li>
		                        <div class="col"><input id="newloginpwd" class="ipt bord-rad" type="password"  placeholder="新密码" name="newloginpwd" v-model="loginForm.newpwd"/></div>
		                    </li>
		                    <li>
		                        <div class="col"><input id="renewloginpwd" class="ipt bord-rad" type="password"  placeholder="确认新密码" v-model="loginForm.renewpwd"/></div>
		                    </li>
		                </ul>
		            </div>
		            <input type="button" value="确认修改" @click="changeLogin" class="btn bord-rad" id="subBtn"/>
		        </form>
	        </div>
	        <!--支付密码-->
	        <div>
		        <form id="chgpwdForm" method="post" action="#" v-if="showV===1" class="flexForm userindex" >
		             <div class="content">                    
		                 <ul class="">
		                     <li>
		                         <div class="col"><input id="oldmoneypwd" class="ipt bord-rad" type="password"  placeholder="原密码（首次默认为登录密码）" name="oldmoneypwd" v-model="moneyForm.pwd"/></div>
		                     </li>
		                     <li>
		                         <div class="col"><input id="newmoneypwd" class="ipt bord-rad" type="password"  placeholder="新密码" name="newmoneypwd" v-model="moneyForm.newpwd"/></div>
		                     </li>
		                     <li>
		                         <div class="col"><input id="renewmoneypwd" class="ipt bord-rad" type="password"  placeholder="确认新密码" v-model="moneyForm.renewpwd"/></div>
		                     </li>
		                 </ul>
		                 
		             </div>
		             <input type="button" value="确认修改" @click="changeMoney" class="btn bord-rad" id="subBtn"/>
	                 <p class="tr"><a href="#/pass/getfund">忘记支付密码</a></p>
		         </form> 
	         </div> 
        </div>
    </div>
</div>